# def fun(a,b):
#     c=a+b
#     return c
# x=eval(input( ))
# y=eval(input( ))
# # fun(x,y)
# s=fun(x,y)
# print(s)



#乘法口诀

# for i in range(1,10):
#     print("\n")
#     for j in range(1,10):
#         if j>i:
#             break
#         n=i*j
#         print(f"{j}*{i}={n}")


#作用域

# x=10
# def fun():
#     print(x)
# def fun1():
#     b=30
# def fun2():
#     print(b)
# fun()
# fun1()
# fun2()



#函数递归

def fun(a):
    if a<10:
        return fun(a+1)+a
    else:
        return 0
a=1
s=fun(a)
print(s)


